<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../echarts.js"></script>
</head>

<body>
    <div id="main" style="width: 1900px;height: 800px"></div>
</body>
<script>
    var myChart = echarts.init(document.getElementById('main'))
    option = {
        title: {
            text: '战局'
        },
        legend: {
            data: ['个人', '团队']
        },
        radar: {
            // shape: 'circle',
            indicator: [
                { name: '参团', max: 7570 },
                { name: '治疗', max: 17395 },
                { name: '伤害', max: 45364 },
                { name: '承伤', max: 36677 },
                { name: 'KDA', max: 52000 },
                { name: '经济', max: 17669 }
            ]
        },
        series: [
            {
                name: 'Budget vs spending',
                type: 'radar',
                data: [
                    {
                        value: [4200, 3000, 20000, 35000, 50000, 18000],
                        name: '个人'
                    },
                    {
                        value: [5000, 14000, 28000, 26000, 42000, 21000],
                        name: '团队'
                    }
                ]
            }
        ]
    };
    myChart.setOption(option)
</script>

</html>